<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.18"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>aws-crt-cpp: Aws::Crt::Io::TlsConnectionOptions Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">aws-crt-cpp
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.18 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceAws.html">Aws</a></li><li class="navelem"><a class="el" href="namespaceAws_1_1Crt.html">Crt</a></li><li class="navelem"><a class="el" href="namespaceAws_1_1Crt_1_1Io.html">Io</a></li><li class="navelem"><a class="el" href="classAws_1_1Crt_1_1Io_1_1TlsConnectionOptions.html">TlsConnectionOptions</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#friends">Friends</a> &#124;
<a href="classAws_1_1Crt_1_1Io_1_1TlsConnectionOptions-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Aws::Crt::Io::TlsConnectionOptions Class Reference<span class="mlabels"><span class="mlabel">final</span></span></div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="TlsOptions_8h_source.html">TlsOptions.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ab75607da7537ed0fcfa5b239c82a922b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Io_1_1TlsConnectionOptions.html#ab75607da7537ed0fcfa5b239c82a922b">TlsConnectionOptions</a> () noexcept</td></tr>
<tr class="separator:ab75607da7537ed0fcfa5b239c82a922b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abe9bee9467b0dc55df37903301892f40"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Io_1_1TlsConnectionOptions.html#abe9bee9467b0dc55df37903301892f40">~TlsConnectionOptions</a> ()</td></tr>
<tr class="separator:abe9bee9467b0dc55df37903301892f40"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8c2c7fc8ec9bcb6d1a144859e0d00b0f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Io_1_1TlsConnectionOptions.html#a8c2c7fc8ec9bcb6d1a144859e0d00b0f">TlsConnectionOptions</a> (const <a class="el" href="classAws_1_1Crt_1_1Io_1_1TlsConnectionOptions.html">TlsConnectionOptions</a> &amp;) noexcept</td></tr>
<tr class="separator:a8c2c7fc8ec9bcb6d1a144859e0d00b0f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae189654e839c9acedcd5f59e6ed49c84"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classAws_1_1Crt_1_1Io_1_1TlsConnectionOptions.html">TlsConnectionOptions</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Io_1_1TlsConnectionOptions.html#ae189654e839c9acedcd5f59e6ed49c84">operator=</a> (const <a class="el" href="classAws_1_1Crt_1_1Io_1_1TlsConnectionOptions.html">TlsConnectionOptions</a> &amp;) noexcept</td></tr>
<tr class="separator:ae189654e839c9acedcd5f59e6ed49c84"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aca7f524168751839093c60600e55f89d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Io_1_1TlsConnectionOptions.html#aca7f524168751839093c60600e55f89d">TlsConnectionOptions</a> (<a class="el" href="classAws_1_1Crt_1_1Io_1_1TlsConnectionOptions.html">TlsConnectionOptions</a> &amp;&amp;options) noexcept</td></tr>
<tr class="separator:aca7f524168751839093c60600e55f89d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afa20f71f861feffc1a87ddb1d08d67b8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classAws_1_1Crt_1_1Io_1_1TlsConnectionOptions.html">TlsConnectionOptions</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Io_1_1TlsConnectionOptions.html#afa20f71f861feffc1a87ddb1d08d67b8">operator=</a> (<a class="el" href="classAws_1_1Crt_1_1Io_1_1TlsConnectionOptions.html">TlsConnectionOptions</a> &amp;&amp;options) noexcept</td></tr>
<tr class="separator:afa20f71f861feffc1a87ddb1d08d67b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a35abea0e9213c9b7f51eec207d8b0565"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Io_1_1TlsConnectionOptions.html#a35abea0e9213c9b7f51eec207d8b0565">SetServerName</a> (<a class="el" href="namespaceAws_1_1Crt.html#a14ac076b0baa520bccb2b7236e4e78b7">ByteCursor</a> &amp;serverName) noexcept</td></tr>
<tr class="separator:a35abea0e9213c9b7f51eec207d8b0565"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7d75ee605ed452afd28800201adf54cf"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Io_1_1TlsConnectionOptions.html#a7d75ee605ed452afd28800201adf54cf">SetAlpnList</a> (const char *alpnList) noexcept</td></tr>
<tr class="separator:a7d75ee605ed452afd28800201adf54cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab122c682c9edc330acd6cc26b952c16a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Io_1_1TlsConnectionOptions.html#ab122c682c9edc330acd6cc26b952c16a">operator bool</a> () const noexcept</td></tr>
<tr class="separator:ab122c682c9edc330acd6cc26b952c16a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acf31a07e1dd85b5e28b9fbc7458d8d64"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Io_1_1TlsConnectionOptions.html#acf31a07e1dd85b5e28b9fbc7458d8d64">LastError</a> () const noexcept</td></tr>
<tr class="separator:acf31a07e1dd85b5e28b9fbc7458d8d64"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:a1d7d91d71900833f4fa7d85bc6aacbbc"><td class="memItemLeft" align="right" valign="top">class&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Io_1_1TlsConnectionOptions.html#a1d7d91d71900833f4fa7d85bc6aacbbc">TlsContext</a></td></tr>
<tr class="separator:a1d7d91d71900833f4fa7d85bc6aacbbc"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Options specific to a single connection. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="ab75607da7537ed0fcfa5b239c82a922b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab75607da7537ed0fcfa5b239c82a922b">&#9670;&nbsp;</a></span>TlsConnectionOptions() <span class="overload">[1/3]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Aws::Crt::Io::TlsConnectionOptions::TlsConnectionOptions </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="abe9bee9467b0dc55df37903301892f40"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abe9bee9467b0dc55df37903301892f40">&#9670;&nbsp;</a></span>~TlsConnectionOptions()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Aws::Crt::Io::TlsConnectionOptions::~TlsConnectionOptions </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a8c2c7fc8ec9bcb6d1a144859e0d00b0f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8c2c7fc8ec9bcb6d1a144859e0d00b0f">&#9670;&nbsp;</a></span>TlsConnectionOptions() <span class="overload">[2/3]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Aws::Crt::Io::TlsConnectionOptions::TlsConnectionOptions </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classAws_1_1Crt_1_1Io_1_1TlsConnectionOptions.html">TlsConnectionOptions</a> &amp;&#160;</td>
          <td class="paramname"><em>options</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="aca7f524168751839093c60600e55f89d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aca7f524168751839093c60600e55f89d">&#9670;&nbsp;</a></span>TlsConnectionOptions() <span class="overload">[3/3]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Aws::Crt::Io::TlsConnectionOptions::TlsConnectionOptions </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classAws_1_1Crt_1_1Io_1_1TlsConnectionOptions.html">TlsConnectionOptions</a> &amp;&amp;&#160;</td>
          <td class="paramname"><em>options</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="acf31a07e1dd85b5e28b9fbc7458d8d64"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acf31a07e1dd85b5e28b9fbc7458d8d64">&#9670;&nbsp;</a></span>LastError()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int Aws::Crt::Io::TlsConnectionOptions::LastError </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>the value of the last aws error encountered by operations on this instance. </dd></dl>

</div>
</div>
<a id="ab122c682c9edc330acd6cc26b952c16a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab122c682c9edc330acd6cc26b952c16a">&#9670;&nbsp;</a></span>operator bool()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Aws::Crt::Io::TlsConnectionOptions::operator bool </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">explicit</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>true if the instance is in a valid state, false otherwise. </dd></dl>

</div>
</div>
<a id="ae189654e839c9acedcd5f59e6ed49c84"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae189654e839c9acedcd5f59e6ed49c84">&#9670;&nbsp;</a></span>operator=() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classAws_1_1Crt_1_1Io_1_1TlsConnectionOptions.html">TlsConnectionOptions</a> &amp; Aws::Crt::Io::TlsConnectionOptions::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classAws_1_1Crt_1_1Io_1_1TlsConnectionOptions.html">TlsConnectionOptions</a> &amp;&#160;</td>
          <td class="paramname"><em>options</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="afa20f71f861feffc1a87ddb1d08d67b8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afa20f71f861feffc1a87ddb1d08d67b8">&#9670;&nbsp;</a></span>operator=() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classAws_1_1Crt_1_1Io_1_1TlsConnectionOptions.html">TlsConnectionOptions</a> &amp; Aws::Crt::Io::TlsConnectionOptions::operator= </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classAws_1_1Crt_1_1Io_1_1TlsConnectionOptions.html">TlsConnectionOptions</a> &amp;&amp;&#160;</td>
          <td class="paramname"><em>options</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a7d75ee605ed452afd28800201adf54cf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7d75ee605ed452afd28800201adf54cf">&#9670;&nbsp;</a></span>SetAlpnList()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool Aws::Crt::Io::TlsConnectionOptions::SetAlpnList </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>alpnList</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Sets list of protocols (semi-colon delimited in priority order) used for ALPN extension. alpnList is copied.</p>
<dl class="section return"><dt>Returns</dt><dd>true if the copy succeeded, or false otherwise. </dd></dl>

</div>
</div>
<a id="a35abea0e9213c9b7f51eec207d8b0565"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a35abea0e9213c9b7f51eec207d8b0565">&#9670;&nbsp;</a></span>SetServerName()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool Aws::Crt::Io::TlsConnectionOptions::SetServerName </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceAws_1_1Crt.html#a14ac076b0baa520bccb2b7236e4e78b7">ByteCursor</a> &amp;&#160;</td>
          <td class="paramname"><em>serverName</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Sets SNI extension, and also the name used for X.509 validation. serverName is copied.</p>
<dl class="section return"><dt>Returns</dt><dd>true if the copy succeeded, or false otherwise. </dd></dl>

</div>
</div>
<h2 class="groupheader">Friends And Related Function Documentation</h2>
<a id="a1d7d91d71900833f4fa7d85bc6aacbbc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1d7d91d71900833f4fa7d85bc6aacbbc">&#9670;&nbsp;</a></span>TlsContext</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">friend class <a class="el" href="classAws_1_1Crt_1_1Io_1_1TlsContext.html">TlsContext</a></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>/home/ANT.AMAZON.COM/dengket/doc/aws-crt-cpp/include/aws/crt/io/<a class="el" href="TlsOptions_8h_source.html">TlsOptions.h</a></li>
<li>/home/ANT.AMAZON.COM/dengket/doc/aws-crt-cpp/source/io/<a class="el" href="TlsOptions_8cpp.html">TlsOptions.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.18
</small></address>
</body>
</html>
